﻿namespace MauiSampleDemo.Utilities
{
    public class ToastService
    {
        public async Task ShowAsync(string text, ToastDuration duration = ToastDuration.Short, int fontSize = 14)
        {
            var toast = Toast.Make(text, duration, fontSize);
            await toast.Show();
        }
    }
}
